package com.powerteam.model.enums;

/**
 * 用户状态枚举
 *
 * @Author jinming.zhang
 * @Date 2021/12/1
 */
public enum UserStatusEnum {

    /**
     * 用户状态 启用:1 禁用:2
     */
    USER_STATUS_ON((byte) 1, "启用"),
    USER_STATUS_OFF((byte) 2, "禁用");

    /**
     * 用户状态
     */
    private final Byte code;

    /**
     * 状态描述
     */
    private final String desc;

    UserStatusEnum(Byte code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Byte getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
